-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjustments to test charm upgrades #217
Conversation
4d874ea
to
8ffdcfc
Compare
8ffdcfc
to
963c140
Compare
@@ -56,6 +56,7 @@ def get_nodes(self, labels: LabelSelector) -> Optional[List[Node]]: | |||
Raises: | |||
ClusterInspectorError: If the nodes cannot be retrieved. | |||
""" | |||
labels = labels or {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
labels are now "OPTIONAL"
01cf131
to
3d58015
Compare
3ab71a6
to
8490141
Compare
8490141
to
48d52df
Compare
6f7df7f
to
1f877ed
Compare
${{ matrix.arch.id == 'arm64' && ' --lxd-containers' || '' }} | ||
${{ matrix.arch.id == 'arm64' && ' --lxd-containers --series=focal' || '' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
arm64 -- you stay testing on focal
so we can know if we break focal compatability
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! Thanks for adding testing for the upgrades and improving the stability of the suite.
e265e70
to
8ccaf1f
Compare
Test coverage for b1a3178
Static code analysis report
|
Overview
Create tests that performs a charm upgrade from k8s edge --> k8s local_path
Details
k8s-worker
leader from checking node readiness onpre-upgrade-check
actionk8s
leader is responsible for checking the whole cluster onpre-upgrade-check
k8s
checkskube-system
namespace to ensure all pods are ready during update-status eventconftest.py
to support test configuration by pytest model markingslatest/edge
snap is now 1.32, requiring new dependency literalsNote
VMs on LXD cannot pull an image for focal that supports cilium. This PR moves all testing on amd64 therefore to jammy rather than focal. Focal is still tested on arm64 due to GH ARM64 workers not supporting
/dev/kvm